package com.wzdigit.wms.hm.controller;

import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Api(tags = "WMS定时调度任务管理")
@RequestMapping("/api")
public class TaskSchedulingController {

	public static final String REQUEST_MODEL = "/ws";

//	@Autowired
//	SkuMapper skuMapper;

//	@Autowired
//    AsnHeaderMapper asnHeaderMapper;
//
//	@ApiOperation(value = "查询所有的调度任务",notes = "查询所有的调度任务")
//    @GetMapping(value = REQUEST_MODEL + "/searchTaskSchedule")
//    public String searchTaskSchedule(String msg) {
//
//	    //创建类型的条件构造器
//	    QueryWrapper<Sku>  wrapper = new QueryWrapper<>();
//	    wrapper.eq("SKU_CODE", msg);
//
//        Sku sku1 = skuMapper.selectOne(wrapper);
//
//
//        AsnHeader asnHeader = asnHeaderMapper.getByNo(msg);
//
//
//        Sku sku = skuMapper.getSkuByCode(msg);
//
//        return sku.toString();
//    }
}